package com.ruoyi.ma.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.ma.domain.MaMaterialOtherMeasure;
import com.ruoyi.ma.domain.bo.MaMaterialOtherMeasureBo;
import com.ruoyi.ma.domain.vo.MaMaterialOtherMeasureVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 其他计量Mapper接口
 *
 * @author llb
 * @date 2024-11-01
 */
public interface MaMaterialOtherMeasureMapper extends BaseMapperPlus<MaMaterialOtherMeasureMapper, MaMaterialOtherMeasure, MaMaterialOtherMeasureVo> {

    MaMaterialOtherMeasureVo getById(@Param("otherMeasureId") Long otherMeasureId);
    MaMaterialOtherMeasureVo getInfo(@Param("bo") MaMaterialOtherMeasureBo bo);

    Page<MaMaterialOtherMeasureVo> page(Page<Object> build, @Param(Constants.WRAPPER) Wrapper<MaMaterialOtherMeasure> lqw);
}
